
from django.urls import path, include
from . import views,views_serializer

urlpatterns = [
#     path(r'^admin/', views.BookView.as_view()),
#         path(),
    path('books/', views_serializer.BooksView.as_view()),
    path('books/<int:id>/', views_serializer.BookView.as_view()),

    path('heros/', views_serializer.HerosView.as_view()),
    path('heros/<int:id>/', views_serializer.HeroView.as_view()),


]
